package com.sailing.core.java.util;

import java.util.stream.IntStream;

/**
 * @author chenchao7
 * @date 2021/9/3 16:51
 */
public class BitOperation {
    public static void main(String[] args) {
        IntStream.range(0,60).forEach(i ->{
            Long testVal = 1L << (i % Long.SIZE);
            //Long bitVal = tagsInfo.get(index);
            System.out.println("1<<"+i +"="+ testVal);
        });
    }
}
